package wnxy.wn44.shopwn.mapper;

import org.springframework.stereotype.Component;
import wnxy.wn44.shopwn.entity.Perm;

import java.util.List;

@Component
public interface PermMapper {
    int deleteByPrimaryKey(Integer code);

    int insert(Perm record);

    int insertSelective(Perm record);

    Perm selectByPrimaryKey(Integer code);

    int updateByPrimaryKeySelective(Perm record);

    int updateByPrimaryKey(Perm record);

    List<Perm> selectAll();
}